﻿namespace Common.Core.Base
{
    public class GlobalConfig
    {
        #region 常量 - 信息
        public const string AnyRadixConvert_CharacterIsNotValid = "参数中的字符\"{0}\"不是 {1} 进制数的有效字符。";
        public const string AnyRadixConvert_Overflow = "0";
        public const string Caching_CacheNotInitialized = "缓存功能尚未初始化，未找到可用的 ICacheProvider 实现。";
        public const string ConfigFile_ItemKeyDefineRepeated = "标识为“{0}”的项重复定义";
        public const string ConfigFile_NameToTypeIsNull = "名称为“{0}”的类型不存在";
        public const string Context_BuildservicesFirst = "请先初始化依赖注入服务，再使用OSharpContext.IocRegisterservices属性";
        public const string DbContextInitializerConfig_InitializerNotExists = "上下文初始化类型“{0}”不存在";
        public const string Filter_GroupOperateError = "查询条件组中的操作类型错误，只能为And或者Or。";
        public const string Filter_RuleFieldInTypeNotFound = "指定的属性“{0}”在类型“{1}”中不存在。";
        public const string Ioc_CannotResolveservice = "无法解析类型“{0}”的构造函数中类型为“{1}”的参数";
        public const string Ioc_FrameworkNotInitialized = "OSharp框架尚未初始化，请先初始化";
        public const string Ioc_ImplementationTypeNotFound = "类型“{0}”的实现类型无法找到";
        public const string Ioc_NoConstructorMatch = "类型“{0}”中找不到合适参数的构造函数";
        public const string Ioc_TryAddIndistinguishableTypeToEnumerable = "实现类型不能为“{0}”，因为该类型与注册为“{1}”的其他类型无法区分";
        public const string IocInitializerBase_TypeNotIRepositoryType = "类型“{0}”不是仓储接口“IRepository<,>”的派生类。";
        public const string IocInitializerBase_TypeNotIUnitOfWorkType = "类型“{0}”不是操作单元“IUnitOfWork”的派生类。";
        public const string Logging_CreateLogInstanceReturnNull = "创建名称为“{0}”的日志实例时“{1}”返回空实例。";
        public const string Map_MapperIsNull = "MapperExtensions.Mapper不能为空，请先设置值";
        public const string Mef_HttpContextItems_NotFoundRequestContainer = "当前Http上下文中不存在Request有效范围的Mef部件容器。";
        public const string ObjectExtensions_PropertyNameNotExistsInType = "指定对象中不存在名称为“{0}”的属性。";
        public const string ObjectExtensions_PropertyNameNotFixedType = "指定名称“{0}”的属性类型不是“{1}”。";
        public const string ParameterCheck_Between = "参数“{0}”的值必须在“{1}”与“{2}”之间。";
        public const string ParameterCheck_BetweenNotEqual = "参数“{0}”的值必须在“{1}”与“{2}”之间，且不能等于“{3}”。";
        public const string ParameterCheck_DirectoryNotExists = "指定的目录路径“{0}”不存在。";
        public const string ParameterCheck_FileNotExists = "指定的文件路径“{0}”不存在。";
        public const string ParameterCheck_NotContainsNull_Collection = "集合“{0}”中不能包含null的项";
        public const string ParameterCheck_NotEmpty_Guid = "参数“{0}”的值不能为Guid.Empty";
        public const string ParameterCheck_NotGreaterThan = "参数“{0}”的值必须大于“{1}”。";
        public const string ParameterCheck_NotGreaterThanOrEqual = "参数“{0}”的值必须大于或等于“{1}”。";
        public const string ParameterCheck_NotLessThan = "参数“{0}”的值必须小于“{1}”。";
        public const string ParameterCheck_NotLessThanOrEqual = "参数“{0}”的值必须小于或等于“{1}”。";
        public const string ParameterCheck_NotNull = "参数“{0}”不能为空引用。";
        public const string ParameterCheck_NotNullOrEmpty_Collection = "参数“{0}”不能为空引用或空集合。";
        public const string ParameterCheck_NotNullOrEmpty_String = "参数“{0}”不能为空引用或空字符串。";
        public const string QueryCacheExtensions_TypeNotEntityType = "类型“{0}”不是实体类型";

        #endregion
    }
}
